package com.kede.api.level.dto;

import com.kede.api.groups.CreatedGroups;
import com.kede.api.groups.DefaultGroups;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 乔包包
 * @PackageName server-parent-master
 * @Package com.kede.api.level.dto
 * @Date 2024/2/3 15:30
 * @Version 1.0
 */
@Data
public class UserIdDto {
    @NotNull(message = "用户id不能为空",groups = {DefaultGroups.class, CreatedGroups.class})
    @ApiModelProperty(value="用户id",required = true)
    private Integer userId;
}
